LEADTOOLS Medical (Leadtools.Medical.Workstation assembly)
LEAD Technologies, Inc

GetWorkstsationControl(String,Control,Object[]) Method







The name of the control to look at its actual type to create.
The default System.Windows.Forms.Control to return if the specified name was not mapped to a control.
An array of System.Object used to initalize the created control.
Creates a UI medical workstation control by a given name.
Syntax
public Control GetWorkstsationControl( 
   string name,
   Control defaultControl,
   params object[] args
)
'Declaration
 
Public Overloads Function GetWorkstsationControl( _
   ByVal name As String, _
   ByVal defaultControl As Control, _
   ByVal ParamArray args() As Object _
) As Control
'Usage
 
Dim instance As WorkstationUIFactory
Dim name As String
Dim defaultControl As Control
Dim args() As Object
Dim value As Control
 
value = instance.GetWorkstsationControl(name, defaultControl, args)
public Control GetWorkstsationControl( 
   string name,
   Control defaultControl,
   params object[] args
)
 function Leadtools.Medical.Workstation.UI.Factory.WorkstationUIFactory.GetWorkstsationControl(String,Control,Object[])( 
   name ,
   defaultControl ,
   args 
)
public: Control* GetWorkstsationControl( 
   string* name,
   Control* defaultControl,
   params Object*[]* args
) 
public:
Control* GetWorkstsationControl( 
   string* name,
   Control* defaultControl,
   ... array<Object^>^ args
) 

Parameters

name
The name of the control to look at its actual type to create.
defaultControl
The default System.Windows.Forms.Control to return if the specified name was not mapped to a control.
args
An array of System.Object used to initalize the created control.

Return Value

The requested medical workstation control.
Remarks

All UI controls in the Medical Workstation are created using this function. This allows developers to override the default controls with their own custom controls. The name parameter is actually the class name of the control.

To provide your own type of a control. All you need to do is to update the WorkstationUISettings section in the application configuration file with the original controls name and the new type you want to use for that control.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WorkstationUIFactory Class
WorkstationUIFactory Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.